package com.app.lxx.pregnancyberth.ui;

import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.Nullable;
import android.util.Log;
import android.widget.SeekBar;

import com.app.lxx.pregnancyberth.R;
import com.app.lxx.pregnancyberth.widge.NumberSeekBar;

/**
 * Created by Lxx on
 * 2020/3/17 16:34 星期二
 * Details:
 */
public class TestActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ac_test);
        NumberSeekBar NumberSeekBar1 = findViewById(R.id.NumberSeekBar1);
        NumberSeekBar1.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
            @Override
            public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
                Log.e("progress", progress + "ssss");
            }

            @Override
            public void onStartTrackingTouch(SeekBar seekBar) {

            }

            @Override
            public void onStopTrackingTouch(SeekBar seekBar) {

            }
        });
    }
}
